////////air_cond_sensor//////////
//#include "dev_air_cond.h"


#ifndef __DEV_AIR_COND_H__
#define __DEV_AIR_COND_H__

#include "dev_module.h"
#include "iot_message.pb.h"
#include <stdint.h>
#include "iot_node.h"




#define  air_cond_max_scale_0_01mm   (100000U)    //1000mm===1000x100 (0.01mm)
#define  air_cond_max_dev_addr        (245U)      // 烟雾设备地址	R/W	否	配置参数	uint8_t	0~255
#define  air_cond_max_channel          (31U)      // 烟雾设备通道编号	R/W	否	配置参数	uint8_t	0~31




/*-----------------------------------------------------------------------------------------------							
0x0801	软件版本	RO	否	软件版本	string	最大32字节			
0x0802	硬件版本	RO	否	硬件版本	string	最大32字节			
0x0803	产品型号	RO	否	产品型号	string	最大32字节			
0x0804	生产信息	RO	否	生产信息	string	最大32字节			生产日期，生产批次等信息
0x0805	厂家信息	RO	否		string	最大32字节			生产商名称信息

-----------------------------------------------------------------------------------------*/

/////-----设备类型----
//#define   DEV_AIR_COND_TYPE     (0xD006)     //烟雾传感器（D006H） 



////以下枚举的取值 需要结合 数组 air_cond_iot_id_table[air_cond_index_end]的下标进行关联的定义---同步更新----
// typedef enum{
//     air_cond_index_run_data_begin      = 0,    // 设备运行参数
//     air_cond_index_config_data_begin   = 8,    // 设备配置参数-------------超过 8个时需要分帧处理
//     air_cond_index_factory_info_begin  = 16,   // 设备出厂信息
//     air_cond_index_end = 20+1,
// } air_cond_attr_index_e;

typedef enum{
    air_cond_index_run_data_begin      = 0,    // 设备运行参数
    air_cond_index_run_data_end        = 9, 
    air_cond_index_config_data_begin   = 9,    // 设备配置参数-------------超过 8个时需要分帧处理
    air_cond_index_factory_info_begin  = 31,   // 设备出厂信息
    air_cond_index_end = 35+1,
} air_cond_attr_index_e;


#pragma pack(1)

//0x0500	烟雾报警信息 "0=正常，1=告警
typedef union{
    struct{
        uint32_t en :  1;      // 报警使能
        uint32_t res1:31;
    }bit;
    uint32_t value;
} air_cond_alarm_u;


//烟雾传感器（D006H）的数据
///---------RO 数据--------//
typedef struct{

		//   air_cond_alarm_u  alarm;   //0x0500	烟雾报警信息"0=正常，1=告警
									//bit0：烟雾报警
		// uint16_t	devType	;//	产品类型	RO	0x0800	否
		// string	verSw	;//	软件版本	RO	0x0801	否
		// string	verHw	;//	硬件版本	RO	0x0802	否
		// string	productModel	;//	产品型号	RO	0x0803	否
		// string	productMsg	;//	生产信息	RO	0x0804	否
		// string	verdorMsg	;//	厂家信息	RO	0x0805	否
				
		int16_t	intT	;//	内置温度	RO	900	2304
		int16_t	intH	;//	内置湿度	RO	901	2305
		int16_t	extT	;//	外接温度	RO	902	2306
		int16_t	extH	;//	外接湿度	RO	903	2307
		int32_t	acCurr	;//	空调电流	RO	904	2308
		int16_t	acStatus	;//	空调状态	RO	905	2309
		int16_t	almStatus	;//	告警状态	RO	906	2310
		int16_t	acCtrlStatus	;//	空调控制开关状态	RO	907	2311
		int16_t	acCtrlMode	;//	空调控制模式	RO	908	2312
		int16_t	acCtrlFanSpeed	;//	空调控制风速状态	RO	909	2313
		int16_t	acSwingStatus	;//	空调控制摆风方式状态	RO	90A	2314
		int16_t	acTempeStatus	;//	空调控制温度状态	RO	90B	2315

} air_cond_data_t;



///---------R/W	配置参数--------//
typedef struct{

    uint8_t   addr;              //烟雾设备地址  0~255			
    uint8_t   channel;           //0x0602	烟雾设备通道编号	0~31	

    air_cond_alarm_u   alarm_enable;       //0x0620 烟雾报警使能 "0=不启用，1=启用

	int16_t	energySaveTempe	;//	节能控制发码温度	R/W	90F	2319
	int16_t	energySaveFanSpeed	;//	节能控制发码风速	R/W	910	2320
	int16_t	acStatusDetectMode	;//	空调状态检测方式选择	R/W	911	2321
	//		;//		R/W	912	2322
	int8_t	DO ;//do	;//	do控制寄存器	R/W	913	2323
	int8_t	DI	;//	di状态	R/W	914	2324--------------------------------该参数目前没有json返回 
	int8_t	doFuncSel	;//	DO功能选择	R/W	915	2325
	int8_t	diFuncSel	;//	di功能选择	R/W	916	2326
	int8_t	diCtrlSel	;//	di输入状态对应控制或空调状态选择	R/W	917	2327

	int8_t	pwrOnAutoStart	;//	来电自启动标志	R/W	91B	2331
	int8_t	buzzerFunc	;//	蜂鸣器功能选择	R/W	91C	2332
	int8_t	coolWarmMode	;//	制冷制热模式选择	R/W	91D	2333
	int8_t	acStatusTH	;//	状态判断阈值	R/W	91E	2334
	int8_t	acPwrOnOffTime	;//	空调开关机时长	R/W	91F	2335
	int8_t	ctrlMode	;//	控制模式	R/W	920	2336
	// int32_t		;//	周期定时起始时间	R/W	0	0
	// int32_t		;//	周期定时时长	R/W	0	0
	// int8_t		;//	温控上下限	R/W	923	2339
	// int8_t		;//	湿度控制上限温控上上下下限	R/W	925	2341

////----ver.1.27----------------

	int16_t	diCtrlMinPwrOnTime	;//	di控制最小开机时间	R/W	928	2344
	int16_t	diCtrlMinTrigTime	;//	di控制最小触发时间	R/W	929	2345
	int16_t	teHuAlmTime	;//	温湿度告警判断时长	R/W	92A	2346
	int16_t	resetRecover	;//	重启/恢复出厂设置	W	92B	2347	控制	int16_t				2：重启， 4：恢复出厂设置
	int16_t	learnIr	;//	学习红外码	W	92C	2348	控制	int16_t				高字节功能， 低字节温度（看空调物模型说明.txt）
	int16_t	sendIr	;//	发送红外码	W	92D	2349	控制	int16_t				高字节功能， 低字节温度（看空调物模型说明.txt）
	int16_t	remoteCode	;//	遥控对码	R/W	92E	2350	控制	int16_t				
	int16_t	remoteCtrlKey	;//	遥控发码控制按钮	W	92F	2351	控制	int16_t				1~20 发自定义码1~20 ， 0x400：开关， 0x500：模式， 0x600：风速，0x700：摆风，0x800：温度加，0x900：温度减，0xa00：开机， 0xb00：关机

////----ver.1.27----------------	



} air_cond_config_t;




//---配置节点信息----------


typedef union
{
	struct{	
		
	  uint16_t online                  :1;	  //节点在线标志-----1:在线，0:离线，

	  uint16_t res                     :15;  
		
	}bit;
	
  uint16_t all;

} air_cond_node_flags_u;




/*  ----------------------- --------------------------
typedef struct{

    char soft_ver[33];
    char hard_ver[33];
    char product_model[33];     //0x0803	产品型号

    char production_info[33];        //生产信息----生产日期，生产批次等信息
    char manufacturer[33];      //0x0805	厂家信息- 最大32字节 生产商名称信息----manufacturer--factory--producer---

} air_cond_info_t;

----------------------- --------------------------*/

// typedef enum{

//     index_1,    //
//     index_max,

// } air_cond_index_e;


//#define   AIR_COND_NODE_NUM_MAX    (255U)  
#define   AIR_COND_NODE_NUM_MAX    (NODE_NUM_MAX)     ///与配置节点总数相关-----



typedef struct{
    air_cond_data_t      data;
    air_cond_config_t    config;
    dev_attr_com_info_t  info;
    air_cond_node_flags_u  flags;
    //char   dev_name_str[32];   
} air_cond_attr_t;


#pragma pack()


extern const  uint16_t  air_cond_iot_id_table[air_cond_index_end];

/**
 * @brief 
 * 
 */
void air_cond_param_init(void);

uint8_t air_cond_add_obj(uint8_t idx,uint8_t channel,uint8_t addr);


/**
 * @brief 
 * 
 * @param in idx 
 * @return air_cond_attr_t ==NULL 查询出错,   !NULL 查询ok
 */
air_cond_attr_t*  air_cond_get_obj(uint8_t idx) ;  //air_cond_attr_get


/**
 * @brief air_cond_set_obj() 赋值节点数据
 * 
 * @param in idx
 * @param in p_attr
 * @return 0=失败，1=成功 
 */
uint8_t  air_cond_set_obj(uint8_t idx,air_cond_attr_t* p_attr )  ;



  //  air_cond_index_run_data_begin      = 0,    // 设备运行参数
  //  air_cond_index_config_data_begin   = 3,    // 设备配置参数
/**
 * @brief 根据下标，获取iot_id 的编号
 * 
 * @param idx 
 */
uint16_t  air_cond_get_iot_id(uint8_t idx);


/**
 * @brief 
 * 
 * @param attr_id 
 * @param attr_out 
 */
void air_cond_get_attr(uint8_t idx,uint16_t attr_id, IotModel* attr_out);


/**
 * @brief 
 * 
 * @param attr_in 
 * @return uint8_t 
 */
uint8_t air_cond_set_attr(uint8_t idx,IotModel* attr_in);


void air_cond_test_tick_min(uint8_t idx);

////刷新节点运行数据
void air_cond_update_tick_min(uint8_t idx,int8_t temper ,uint32_t air_cond );

void air_cond_obj_update(uint8_t idx,air_cond_attr_t* pliq_in  );




#endif //------__DEV_AIR_COND_H__









/*-----------------------------------------------------------------------------------------------	

got info: chan_addr=85,channel=1,node_type=53253,indx=7
iot_find_node_index_with_info
found info: chan_addr=85,channel=1,node_type=0,indx=7
11:07:35-TCP_API_Send
Tcp_TxData[1].Buff=0xc1b56,pdata=0x2b145cd0,len= 159
Tcp_Tx_ch=1, local_ktj_js
{"head":{"gatewayId":"gw_1C3283005078","msgId":15,"timeStamp":0,"cmd":"readAttr"},"data":{"privAddr":85,"channel":1,"nodeType":1,"mask":"01","classMask":"11"}}
Tcp_ch1_TxData copy done
gw_ktj socket send done
11:07:35- ETH_1 local_ktj_js Rx: len=3950
{"head":{"gatewayId":"gw_1C3283005078","replaceId":"","msgId":15,"timeStamp":1737083255,"response":"readAttr"},"data":{"nodeType":1,"channel":1,"privAddr":85,
"mac":"FFFFFFFFFFFF","name":"airCond_1_1","pid":"4011","totalFrame":3,"currFrame":1,"totalAttr":113,"itemCnt":40},
"attrLst":[
{"name":"intT","lable":"内置温度","class":25,"dpid":2304,"val":207,"type":0},
{"name":"intH","lable":"内置湿度","class":25,"dpid":2305,"val":5,"type":0},
{"name":"extT","lable":"外接温度","class":25,"dpid":2306,"val":10,"type":0},
{"name":"extH","lable":"外接湿度","class":25,"dpid":2307,"val":20,"type":0},
{"name":"acCurr","lable":"空调电流","class":25,"dpid":2308,"val":0,"type":0},
{"name":"learnTotal","lable":"已学码总数","class":25,"dpid":50000,"val":0,"type":0},
{"name":"acStatus","lable":"空调状态","class":25,"dpid":2309,"val":65535,"type":0},
{"name":"almStatus","lable":"告警状态","class":25,"dpid":2310,"val":0,"type":0},
{"name":"swVer","lable":"软件版本","class":25,"dpid":50001,"val":0,"type":0},
{"name":"rsv","lable":"rsv","class":25,"dpid":50002,"val":0,"type":0},
{"name":"lastLearnStatus","lable":"上次学码结果或读码库有效状态","class":25,"dpid":50003,"val":0,"type":0},
{"name":"acCtrlStatus","lable":"空调控制开关状态","class":25,"dpid":2311,"val":0,"type":0},
{"name":"acCtrlMode","lable":"空调控制模式","class":25,"dpid":2312,"val":257,"type":0},
{"name":"acCtrlFanSpeed","lable":"空调控制风速状态","class":25,"dpid":2313,"val":0,"type":0},
{"name":"acSwingStatus","lable":"空调控制摆风方式状态","class":25,"dpid":2314,"val":0,"type":0},
{"name":"acTempeStatus","lable":"空调控制温度状态","class":25,"dpid":2315,"val":0,"type":0},
{"name":"irLibFlag","lable":"红外码库使用标志","class":25,"dpid":50004,"val":0,"type":0},
{"name":"irLIbNo.","lable":"红外库码编号","class":25,"dpid":50005,"val":0,"type":0},
{"name":"energySaveTempe","lable":"节能控制发码温度","class":25,"dpid":2319,"val":0,"type":0},
{"name":"energySaveFanSpeed","lable":"节能控制发码风速","class":25,"dpid":2320,"val":0,"type":0},
{"name":"energySaveIrLibSrc","lable":"节能控制发码红外码来源选择","class":25,"dpid":50006,"val":0,"type":0},
{"name":"irPort","lable":"红外发射端口选择","class":25,"dpid":50007,"val":0,"type":0},
{"name":"acStatusDetectMode","lable":"空调状态检测方式选择","class":25,"dpid":2321,"val":0,"type":0},
{"name":"do","lable":"do控制寄存器","class":25,"dpid":2323,"val":0,"type":0},
{"name":"year","lable":"年","class":25,"dpid":50008,"val":0,"type":0},
{"name":"monthDay","lable":"月日","class":25,"dpid":50009,"val":0,"type":0},
{"name":"hourMinute","lable":"时分","class":25,"dpid":50010,"val":0,"type":0},
{"name":"mbAddr","lable":"设备地址","class":25,"dpid":50011,"val":0,"type":0},
{"name":"bps","lable":"波特率","class":25,"dpid":50012,"val":0,"type":0},
{"name":"pwrOnAutoStart","lable":"来电自启动标志","class":25,"dpid":2331,"val":0,"type":0},
{"name":"buzzerFunc","lable":"蜂鸣器功能选择","class":25,"dpid":2332,"val":0,"type":0},
{"name":"coolWarmMode","lable":"制冷制热模式选择","class":25,"dpid":2333,"val":0,"type":0},
{"name":"doFuncSel","lable":"DO功能选择","class":25,"dpid":2325,"val":0,"type":0},
{"name":"diFuncSelDi","lable":"di功能选择/di状态","class":25,"dpid":50013,"val":0,"type":0},
{"name":"diCtrlSel","lable":"di输入状态对应控制或空调状态选择","class":25,"dpid":2327,"val":0,"type":0},
{"name":"acStatusTH","lable":"状态判断阈值","class":25,"dpid":2334,"val":0,"type":0},
{"name":"acPwrOnOffTime","lable":"空调开关机时长","class":25,"dpid":2335,"val":0,"type":0},
{"name":"ctrlMode","lable":"控制模式","class":25,"dpid":2336,"val":0,"type":0},
{"name":"timingH","lable":"周期定时小时","class":25,"dpid":50014,"val":0,"type":0},
{"name":"timingM","lable":"周期定时分钟","class":25,"dpid":50015,"val":0,"type":0}]}

json_cmd_decode()
geteway_id ok =gw_1C3283005078
cmd fit
json_readback_readAttr_single() start
currFrame=1
totalAttr=113
channel=1
chan_addr=85
node_type=1
dev_name=airCond_1_1
pid=4011
iot_find_node_index_with_info
found info: chan_addr=85,channel=1,node_type=1,indx=7
pattr_obj get ok!
json_data_array_size=40
json_readback_readAttr_single() end
rx cmd:readAttr
11:07:35- ETH_1 local_ktj_js Rx: len=4480
{"head":{"gatewayId":"gw_1C3283005078","replaceId":"","msgId":15,"timeStamp":1737083255,"response":"readAttr"},
"data":{"nodeType":1,"channel":1,"privAddr":85,"mac":"FFFFFFFFFFFF","name":"airCond_1_1","pid":"4011",
"totalFrame":3,"currFrame":2,"totalAttr":113,"itemCnt":40},
"attrLst":[{"name":"tempeCtrlMaxMinTH","lable":"温控上下限","class":25,"dpid":2339,"val":0,"type":0},
{"name":"huMaxTemm","lable":"湿度控制上限温控上上下下限","class":25,"dpid":2341,"val":0,"type":0},
{"name":"week0TimeEn","lable":"周日时间段使能","class":25,"dpid":50016,"val":0,"type":0},
{"name":"week1TimeEn","lable":"周一时间段使能","class":25,"dpid":50017,"val":0,"type":0},
{"name":"week2TimeEn","lable":"周二时间段使能","class":25,"dpid":50018,"val":0,"type":0},
{"name":"week3TimeEn","lable":"周三时间段使能","class":25,"dpid":50019,"val":0,"type":0},
{"name":"week4TimeEn","lable":"周四时间段使能","class":25,"dpid":50020,"val":0,"type":0},
{"name":"week5TimeEn","lable":"周五时间段使能","class":25,"dpid":50021,"val":0,"type":0},
{"name":"week6TimeEn","lable":"周六时间段使能","class":25,"dpid":50022,"val":0,"type":0},
{"name":"week0Time1OnTime","lable":"周日时间段1开机时间","class":25,"dpid":50023,"val":0,"type":0},
{"name":"week0Time1OffTime","lable":"周日时间段1关机时间","class":25,"dpid":50024,"val":0,"type":0},
{"name":"week0Time2OnTime","lable":"周日时间段2开机时间","class":25,"dpid":50025,"val":0,"type":0},
{"name":"week0Time2OffTime","lable":"周日时间段2关机时间","class":25,"dpid":50026,"val":0,"type":0},
{"name":"week0Time3OnTime","lable":"周日时间段3开机时间","class":25,"dpid":50027,"val":0,"type":0},
{"name":"week0Time3OffTime","lable":"周日时间段3关机时间","class":25,"dpid":50028,"val":0,"type":0},
{"name":"week0Time4OnTime","lable":"周日时间段4开机时间","class":25,"dpid":50029,"val":0,"type":0},
{"name":"week0Time4OffTime","lable":"周日时间段4关机时间","class":25,"dpid":50030,"val":0,"type":0},
{"name":"week1Time1OnTime","lable":"周1时间段1开机时间","class":25,"dpid":50031,"val":0,"type":0},
{"name":"week1Time1OffTime","lable":"周1时间段1关机时间","class":25,"dpid":50032,"val":0,"type":0},
{"name":"week1Time2OnTime","lable":"周1时间段2开机时间","class":25,"dpid":50033,"val":0,"type":0},
{"name":"week1Time2OffTime","lable":"周1时间段2关机时间","class":25,"dpid":50034,"val":0,"type":0},
{"name":"week1Time3OnTime","lable":"周1时间段3开机时间","class":25,"dpid":50035,"val":0,"type":0},
{"name":"week1Time3OffTime","lable":"周1时间段3关机时间","class":25,"dpid":50036,"val":0,"type":0},
{"name":"week1Time4OnTime","lable":"周1时间段4开机时间","class":25,"dpid":50037,"val":0,"type":0},
{"name":"week1Time4OffTime","lable":"周1时间段4关机时间","class":25,"dpid":50038,"val":0,"type":0},
{"name":"week2Time1OnTime","lable":"周2时间段1开机时间","class":25,"dpid":50039,"val":0,"type":0},
{"name":"week2Time1OffTime","lable":"周2时间段1关机时间","class":25,"dpid":50040,"val":0,"type":0},
{"name":"week2Time2OnTime","lable":"周2时间段2开机时间","class":25,"dpid":50041,"val":0,"type":0},
{"name":"week2Time2OffTime","lable":"周2时间段2关机时间","class":25,"dpid":50042,"val":0,"type":0},
{"name":"week2Time3OnTime","lable":"周2时间段3开机时间","class":25,"dpid":50043,"val":0,"type":0},
{"name":"week2Time3OffTime","lable":"周2时间段3关机时间","class":25,"dpid":50044,"val":0,"type":0},
{"name":"week2Time4OnTime","lable":"周2时间段4开机时间","class":25,"dpid":50045,"val":0,"type":0},
{"name":"week2Time4OffTime","lable":"周2时间段4关机时间","class":25,"dpid":50046,"val":0,"type":0},
{"name":"week3Time1OnTime","lable":"周3时间段1开机时间","class":25,"dpid":50047,"val":0,"type":0},
{"name":"week3Time1OffTime","lable":"周3时间段1关机时间","class":25,"dpid":50048,"val":0,"type":0},
{"name":"week3Time2OnTime","lable":"周3时间段2开机时间","class":25,"dpid":50049,"val":0,"type":0},
{"name":"week3Time2OffTime","lable":"周3时间段2关机时间","class":25,"dpid":50050,"val":0,"type":0},
{"name":"week3Time3OnTime","lable":"周3时间段3开机时间","class":25,"dpid":50051,"val":0,"type":0},
{"name":"week3Time3OffTime","lable":"周3时间段3关机时间","class":25,"dpid":50052,"val":0,"type":0},
{"name":"week3Time4OnTime","lable":"周3时间段4开机时间","class":25,"dpid":50053,"val":0,"type":0}]}


json_cmd_decode()
geteway_id ok =gw_1C3283005078
cmd fit
json_readback_readAttr_single() start
currFrame=2
totalAttr=113
channel=1
chan_addr=85
node_type=1
dev_name=airCond_1_1
pid=4011
curr_frame =2, exit
iot_find_node_index_with_info
found info: chan_addr=85,channel=1,node_type=1,indx=7
pattr_obj get ok!
json_data_array_size=40
json_readback_readAttr_single() end
rx cmd:readAttr
11:07:35- ETH_1 local_ktj_js Rx: len=3737
{"head":{"gatewayId":"gw_1C3283005078","replaceId":"","msgId":15,"timeStamp":1737083255,"response":"readAttr"},
"data":{"nodeType":1,"channel":1,"privAddr":85,"mac":"FFFFFFFFFFFF",
"name":"airCond_1_1","pid":"4011","totalFrame":3,"currFrame":3,"totalAttr":113,"itemCnt":33},
"attrLst":[{"name":"week3Time4OffTime","lable":"周3时间段4关机时间","class":25,"dpid":50054,"val":0,"type":0},
{"name":"week4Time1OnTime","lable":"周4时间段1开机时间","class":25,"dpid":50055,"val":0,"type":0},
{"name":"week4Time1OffTime","lable":"周4时间段1关机时间","class":25,"dpid":50056,"val":0,"type":0},
{"name":"week4Time2OnTime","lable":"周4时间段2开机时间","class":25,"dpid":50057,"val":0,"type":0},
{"name":"week4Time2OffTime","lable":"周4时间段2关机时间","class":25,"dpid":50058,"val":0,"type":0},
{"name":"week4Time3OnTime","lable":"周4时间段3开机时间","class":25,"dpid":50059,"val":0,"type":0},
{"name":"week4Time3OffTime","lable":"周4时间段3关机时间","class":25,"dpid":50060,"val":0,"type":0},
{"name":"week4Time4OnTime","lable":"周4时间段4开机时间","class":25,"dpid":50061,"val":0,"type":0},
{"name":"week4Time4OffTime","lable":"周4时间段4关机时间","class":25,"dpid":50062,"val":0,"type":0},
{"name":"week5Time1OnTime","lable":"周5时间段1开机时间","class":25,"dpid":50063,"val":0,"type":0},
{"name":"week5Time1OffTime","lable":"周5时间段1关机时间","class":25,"dpid":50064,"val":0,"type":0},
{"name":"week5Time2OnTime","lable":"周5时间段2开机时间","class":25,"dpid":50065,"val":0,"type":0},
{"name":"week5Time2OffTime","lable":"周5时间段2关机时间","class":25,"dpid":50066,"val":0,"type":0},
{"name":"week5Time3OnTime","lable":"周5时间段3开机时间","class":25,"dpid":50067,"val":0,"type":0},
{"name":"week5Time3OffTime","lable":"周5时间段3关机时间","class":25,"dpid":50068,"val":0,"type":0},
{"name":"week5Time4OnTime","lable":"周5时间段4开机时间","class":25,"dpid":50069,"val":0,"type":0},
{"name":"week5Time4OffTime","lable":"周5时间段4关机时间","class":25,"dpid":50070,"val":0,"type":0},
{"name":"week6Time1OnTime","lable":"周6时间段1开机时间","class":25,"dpid":50071,"val":0,"type":0},
{"name":"week6Time1OffTime","lable":"周6时间段1关机时间","class":25,"dpid":50072,"val":0,"type":0},
{"name":"week6Time2OnTime","lable":"周6时间段2开机时间","class":25,"dpid":50073,"val":0,"type":0},
{"name":"week6Time2OffTime","lable":"周6时间段2关机时间","class":25,"dpid":50074,"val":0,"type":0},
{"name":"week6Time3OnTime","lable":"周6时间段3开机时间","class":25,"dpid":50075,"val":0,"type":0},
{"name":"week6Time3OffTime","lable":"周6时间段3关机时间","class":25,"dpid":50076,"val":0,"type":0},
{"name":"week6Time4OnTime","lable":"周6时间段4开机时间","class":25,"dpid":50077,"val":0,"type":0},
{"name":"week6Time4OffTime","lable":"周6时间段4关机时间","class":25,"dpid":50078,"val":0,"type":0},
{"name":"diCtrlMinPwrOnTime","lable":"di控制最小开机时间","class":25,"dpid":2344,"val":5,"type":0},
{"name":"diCtrlMinTrigTime","lable":"di控制最小触发时间","class":25,"dpid":2345,"val":10,"type":0},
{"name":"teHuAlmTime","lable":"温湿度告警判断时长","class":25,"dpid":2346,"val":20,"type":0},
{"name":"learnOp","lable":"遥控对码/学自定义码","class":25,"dpid":50081,"val":65535,"type":0},
{"name":"rsv","lable":"rsv","class":25,"dpid":50082,"val":0,"type":0},
{"name":"inOutIrLib","lable":"导出/导入红外码库","class":25,"dpid":50083,"val":0,"type":0},
{"name":"inOutIrLearn","lable":"导出/导入自学红外码","class":25,"dpid":50084,"val":0,"type":0},
{"name":"inOutCfg","lable":"导出/导入设备配置","class":25,"dpid":50085,"val":0,"type":0}]}


-----------------------------------------------------------------------------------------------	*/












